# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=mate-media
pkgver=1.26.0
pkgrel=0
pkgdesc="Media tools for MATE"
url="https://github.com/mate-desktop/mate-media"
# s390x and riscv64 blocked by librsvg -> mate-desktop
arch="all !s390x !riscv64"
license="GPL-2.0-or-later"
makedepends="intltool gobject-introspection-dev gtk+3.0-dev
	libcanberra-dev libmatemixer-dev mate-desktop-dev
	mate-panel-dev dconf-dev libxml2-dev startup-notification-dev"
subpackages="$pkgname-doc $pkgname-lang"
source="https://pub.mate-desktop.org/releases/${pkgver%.*}/mate-media-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--sysconfdir=/etc \
		--enable-static=no \
		--prefix=/usr
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
7af0e9b19abbd7b676ce9ff9228557d45ceaf12e6f70e569772f31c6a0f9d9e6fdebaa4a376884d3001f36fad2f465b8a212972fa4057477cb92f2c47d86d617  mate-media-1.26.0.tar.xz
"
